<template>
  <div>
    <p>{{$store.state.user.profile.nickname}}</p>
  <button @click="$store.commit('user/setUser',{nickname:'zzzz'})">修改</button>
  </div>
</template>

<script>
export default{
  name:'App'
}
</script>

<style>

</style>
